]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Always use light text for recording indicator
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 18 Oct 2023 18:26:05 +0000 (15:26 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 18 Oct 2023 18:47:11 +0000 (18:47 +0000)
The red tone that the recording indicator uses as background doesn't
lend itself well to dark text and icon on top. Stick to a light color.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7112
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2983>

data/theme/gnome-shell-sass/widgets/_panel.scss

index f19c7c76ee1aa9fcf039f324ddf81ddac2ad5f21..6e7b3be140711aec5fd41f27d1273da3b600a39c 100644 (file)
@@ -71,7 +71,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
     }
 
     &.screen-recording-indicator {
-      @include panel_button($screenshot_ui_button_red, $flat: false);
+      @include panel_button($screenshot_ui_button_red, $fg:$panel_system_fg_color, $flat: false);
     }
 
     &.screen-sharing-indicator {
@@ -112,7 +112,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
 
       // unfortunate duplication so these indicators have styles
       &.screen-recording-indicator {
-        @include panel_button($screenshot_ui_button_red, $flat: false);
+        @include panel_button($screenshot_ui_button_red, $fg:$panel_system_fg_color, $flat: false);
       }
 
       &.screen-sharing-indicator {